package com.hilinos.ftp.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("ftp_file")
public class FilePojo {

    private String fileid;
    private String filename;
    private String pfileid;
    private int filetype;
    private String filetypename;
    private String filepath;
    private long filesize;
    private String filesizestr;
    private String uploaduserid;
    private String owner;
    private Date createtime;
    private Date updatetime;


    private Boolean hasChildren;
    private List<FilePojo> children;

}
